package com.common.help.test10;

public class Creature {

    public int weight;
    private int color;

    @Override
    public String toString() {
        return "Creature [weight=" + weight + ", color=" + color + "]";
    }

    public Creature(){
        super();
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    private int getColor() {
        return color;
    }

    private void setColor(int color) {
        this.color = color;
    }

    //内部类
    public class InnerCreature{

    }
}